<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><{$pageEntity->title}></title>
<link rel="stylesheet" type="text/css" href="<{$APPLICATION_URL}>/Themes/<{$templateName}>/styles/m_style.css" media="screen" />
<meta name="apple-mobile-web-app-capable" content="yes" /> 
<meta name="apple-mobile-web-app-status-bar-style" content="blue" /> 
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0;" />
</head>
<body>
<div id="main_container">
	<div class="logo">
    <a href="<{$APPLICATION_URL}>/<{$ownerName}>" class="mainLogo"><img src="<{$ownerWebLogo}>" width="192px" alt="<{$pageEntity->title}>" border="0" /></a>
    </div>
	<div class="menu">
    	<ul>
            <li><a href="<{$APPLICATION_URL}>/<{$ownerName}>Index/aboutus">About Us</a></li>
            <{foreach item=dynamicPageEntity from=$dynamicPageList}>
            <li><a href="<{$APPLICATION_URL}>/<{$ownerName}>Page/Index/id/<{$dynamicPageEntity->id}>"><{$dynamicPageEntity->name}></a></li> 
            <{/foreach}>
            <{if $isBlogEnabled}>		
            <li><a href="<{$APPLICATION_URL}>/<{$ownerName}>Blog">Blog</a></li>				
            <{/if}>	
            <{if $isNewsEnabled}>		
            <li><a href="<{$APPLICATION_URL}>/<{$ownerName}>News">News</a></li>			
            <{/if}>	  
            <{if $isGalleryEnabled}>		
            <li><a href="<{$APPLICATION_URL}>/<{$ownerName}>Gallery">Portfolio</a></li>			
            <{/if}>	  
            <{if $isEcommerceEnabled}>
            <li><a class="main" href="<{$APPLICATION_URL}>/<{$ownerName}>Product">Store</a></li>
            <{/if}>	                
            <{if $hasLoggedIn == true && $loggedInUserType == ROLE_MEMBER_USER}>
            <li><a href="<{$APPLICATION_URL}>/<{$ownerName}>MyAccount">My Account</a></li>
            <li><a href="<{$APPLICATION_URL}>/<{$ownerName}>MyAccount/logout">Logout</a></li>       
            <{else}>
            <li><a href="<{$APPLICATION_URL}>/<{$ownerName}>Login">Login</a></li>
            <{/if}>
            <li><a class="main" href="<{$APPLICATION_URL}>/<{$ownerName}>Index/contactus">Contact</a></li>
        </ul>
    </div>
</body>
</html>
